package com.benmei.ntlive.constant;

/**
 * Created by Peter on 2017/9/7.
 */
public class Constants {
    // 报文分隔符：$_$
//    public static final byte[] delimiter = {0x24,0x5F,0x24};
    public static final String delimiter = "\r\n";

    public static class ClassRoom {
        private ClassRoom(){}
        public static class RoomStatus {
            private RoomStatus(){}
            public static final int UN_START = 1;// 未开始
            public static final int OPEN = 2;// 开放
            public static final int END = 3;// 上完课后教室关闭
        }

        public static class InRoom {
            private InRoom(){}
            public static final int YES = 1;
            public static final int NO = 0;
        }

        public static class EventType {
            public static final String ENTER = "ENTER";// 进入教室
            public static final String LEAVE = "LEAVE";// 离开教室
        }
    }

    public static class UserRole {
        public static final int STUDENT = 1;
        public static final int TEACHER = 2;
    }
}
